package com.ruoyi.ctcx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保险合同主对象 tb_insurance_contract
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public class TbInsuranceContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属保险id */
    @Excel(name = "所属保险id")
    private Long insureId;

    /** 标的地址 */
    @Excel(name = "标的地址")
    private String targetAddress;

    /** 标的经度 */
    @Excel(name = "标的经度")
    private String longitude;

    /** 标的纬度 */
    @Excel(name = "标的纬度")
    private String latitude;

    /** 标的内容 */
    @Excel(name = "标的内容")
    private String targetContent;

    /** 经纪/代理公司 */
    @Excel(name = "经纪/代理公司")
    private String proxyId;

    /** 经纪/代理佣金比例 */
    @Excel(name = "经纪/代理佣金比例")
    private BigDecimal commissionRate;

    /** 经纪/代理佣金 */
    @Excel(name = "经纪/代理佣金")
    private BigDecimal commission;

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInsureId(Long insureId)
    {
        this.insureId = insureId;
    }

    public Long getInsureId()
    {
        return insureId;
    }
    public void setTargetAddress(String targetAddress) 
    {
        this.targetAddress = targetAddress;
    }

    public String getTargetAddress() 
    {
        return targetAddress;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setTargetContent(String targetContent) 
    {
        this.targetContent = targetContent;
    }

    public String getTargetContent() 
    {
        return targetContent;
    }
    public void setProxyId(String proxyId) 
    {
        this.proxyId = proxyId;
    }

    public String getProxyId() 
    {
        return proxyId;
    }
    public void setCommissionRate(BigDecimal commissionRate) 
    {
        this.commissionRate = commissionRate;
    }

    public BigDecimal getCommissionRate() 
    {
        return commissionRate;
    }
    public void setCommission(BigDecimal commission) 
    {
        this.commission = commission;
    }

    public BigDecimal getCommission() 
    {
        return commission;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("insureId", getInsureId())
            .append("targetAddress", getTargetAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("targetContent", getTargetContent())
            .append("proxyId", getProxyId())
            .append("commissionRate", getCommissionRate())
            .append("commission", getCommission())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
